package com.smm.dao;

import com.smm.entity.Comment;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("commentDao")
public interface CommentDao {
    Integer addComment(Comment comment);
    Integer deleteComment(Integer id);
    Comment findComment(Comment comment);
    Integer updateComment(Comment comment);
    List<Comment> findCommentList(Comment comment);

}
